package com.cs.code.auto;

/**
 * <p>
 *      package信息
 * </p>
 * @author wind
 * @date    2025/1/22 14:03
 * @version v1.0
 */
public class PackageConfig {

    /**
     * 项目父包名
     */
    protected String parent;

    /**
     * controller包名称
     */
    protected String controller;

    /**
     * service包名称
     */
    protected String service;

    /**
     * dao层包名称
     */
    protected String dao;

    /**
     * extend包名称
     */
    protected String extend;

    /**
     * 服务实现包名称
     */
    protected String impl;

    /**
     * model包名称
     */
    protected String model;


    protected PackageConfig(){

    }

    public PackageConfig parent(String parent){
        this.parent = parent;
        return this;
    }

    public PackageConfig controller(String controller){
        this.controller = controller;
        return this;
    }

    public PackageConfig dao(String dao){
        this.dao = dao;
        return this;
    }

    public PackageConfig extend(String extend){
        this.extend = extend;
        return this;
    }

    public PackageConfig service(String service){
        this.service = service;
        return this;
    }

    public PackageConfig impl(String impl){
        this.impl = impl;
        return this;
    }
}
